bin=Test
gin=Server
sin=Client
rin=Wheel_Server
cc=g++

.PHONY:all
all: Test Server Client Wheel_Server

$(bin):main.cc
	$(cc) -o $@ $^ -std=c++17
$(gin):Server.cc
	$(cc) -o $@ $^ -std=c++17
$(sin):Client.cc
	$(cc) -o $@ $^ -std=c++17
$(rin):Server_Wheel.cc
	$(cc) -o $@ $^ -std=c++17


.PHONY:clean
clean:
	rm -f $(bin) $(gin) $(sin) $(rin)